home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 October: Technology Seed / ADC Seed CD - October 1999.toast / FireWire / FireWire_2.1_SDK_DR3 / Source / FWiX / FWiXApp / FWiX.r < prev    next >
Encoding:
Text File  |  1999-05-17  |  14.5 KB  |  596 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        FWiX.r
  3.  
  4.     Contains:    Version resource and help balloons for FWiX application. The rest of FWiX resources
  5.                 are in FWiX.rsrc.
  6.  
  7.     Version:    1.0
  8.  
  9.     Written by:    Jay Lloyd
  10.  
  11.     Copyright:    © 1996-1999 by Apple Computer, Inc., all rights reserved.
  12.  
  13.     File Ownership:
  14.  
  15.         DRI:                Jay Lloyd
  16.  
  17.         Other Contact:        
  18.  
  19.         Technology:            FireWire
  20.  
  21.     Writers:
  22.  
  23.         (DCB)    Clinton Bauder
  24.         (jkl)    Jay Lloyd
  25.  
  26.     Change History (most recent first):
  27.  
  28.        <FW6>      4/8/99    jkl        Fixed version.
  29.        <FW5>      4/8/99    jkl        Updated version.
  30.        <FW4>    12/19/98    DCB        More cleanup for SDK.
  31.        <FW3>     1/17/98    jkl        Update for new headers.
  32.        <FW2>     6/19/97    jkl        Added help balloons.
  33.        <FW1>    10/2/96        jkl        initial check-in
  34.  
  35. */
  36.  
  37. #if ETO_BUILD
  38. #include "Types.r"
  39. #include "SysTypes.r"
  40. #include "BalloonTypes.r"
  41. #else
  42. #include "Types.r"
  43. #include "Balloons.r"
  44. #endif
  45.  
  46. resource 'vers' (1)
  47. {
  48.     FWVersion,
  49.     FWRevision,
  50.     FWBuildStage,
  51.     FWBuildNumber,
  52.     verUS,
  53.     FWShortVersionString,
  54.     FWLongVersionString
  55. };
  56.  
  57. resource 'hmnu' (130,"Edit", purgeable) {
  58.     HelpMgrVersion,
  59.     hmDefaultOptions,
  60.     0,
  61.     0,
  62.     HMSkipItem { },
  63.     {
  64.  
  65.         HMStringResItem {        /* Edit */
  66.             5000,1,
  67.             0,0,
  68.             0,0,
  69.             0,0
  70.         },
  71.         HMSTRResItem { 0,0,0,0 },            /* item 1:Undo */
  72.                     HMSkipItem { },
  73.         HMSTRResItem { 0,0,0,0 },            /* item 3:Cut */
  74.         HMSTRResItem { 0,0,0,0 },            /* item 4:Copy */
  75.         HMSTRResItem { 0,0,0,0 },            /* item 5:Paste */
  76.         HMSTRResItem { 0,0,0,0 },            /* item 6:Clear */
  77.                     HMSkipItem { },
  78.         HMStringResItem {        /* item 8:Preferences... */
  79.             5000,2,
  80.             5000,3,
  81.             0,0,
  82.             5000,4
  83.         }
  84.     }
  85. };
  86.  
  87. resource 'hmnu' (200,"Empty", purgeable) {
  88.     HelpMgrVersion,
  89.     hmDefaultOptions,
  90.     0,
  91.     0,
  92.     HMSkipItem { },
  93.     {
  94.  
  95.         HMStringResItem {        /* Sound */
  96.             5000,5,
  97.             0,0,
  98.             0,0,
  99.             0,0
  100.         },
  101.         HMSTRResItem { 0,0,0,0 },            /* item 1:Droplet */
  102.         HMSTRResItem { 0,0,0,0 },            /* item 2:Indigo */
  103.         HMSTRResItem { 0,0,0,0 },            /* item 3:Quack */
  104.         HMSTRResItem { 0,0,0,0 },            /* item 4:Simple Beep */
  105.         HMSTRResItem { 0,0,0,0 },            /* item 5:Sosumi */
  106.         HMSTRResItem { 0,0,0,0 }            /* item 6:Wild Eep */
  107.     }
  108. };
  109.  
  110. resource 'hmnu' (129,"File", purgeable) {
  111.     HelpMgrVersion,
  112.     hmDefaultOptions,
  113.     0,
  114.     0,
  115.     HMSkipItem { },
  116.     {
  117.  
  118.         HMStringResItem {        /* File */
  119.             5000,6,
  120.             0,0,
  121.             0,0,
  122.             0,0
  123.         },
  124.         HMStringResItem {        /* item 1:Open */
  125.             5000,7,
  126.             0,0,
  127.             0,0,
  128.             0,0
  129.         },
  130.         HMStringResItem {        /* item 2:Close */
  131.             5000,8,
  132.             0,0,
  133.             0,0,
  134.             0,0
  135.         },
  136.                     HMSkipItem { },
  137.         HMStringResItem {        /* item 4:Open “FW File Exchange Receive” */
  138.             5000,9,
  139.             0,0,
  140.             0,0,
  141.             0,0
  142.         },
  143.                     HMSkipItem { },
  144.         HMStringResItem {        /* item 6:Quit */
  145.             5000,10,
  146.             0,0,
  147.             0,0,
  148.             0,0
  149.         }
  150.     }
  151. };
  152.  
  153. resource 'hmnu' (128,"MENU 128", purgeable) {
  154.     HelpMgrVersion,
  155.     hmDefaultOptions,
  156.     0,
  157.     0,
  158.     HMSkipItem { },
  159.     {
  160.  
  161.         HMSTRResItem { 0,0,0,0 },            /* item 0:Apple Menu */
  162.         HMStringResItem {        /* item 1:About FireWire Exchange… */
  163.             5000,11,
  164.             0,0,
  165.             0,0,
  166.             0,0
  167.         }
  168.     }
  169. };
  170.  
  171. resource 'hmnu' (131,"View", purgeable) {
  172.     HelpMgrVersion,
  173.     hmDefaultOptions,
  174.     0,
  175.     0,
  176.     HMSkipItem { },
  177.     {
  178.  
  179.         HMStringResItem {        /* View */
  180.             5000,12,
  181.             0,0,
  182.             0,0,
  183.             0,0
  184.         },
  185.         HMStringResItem {        /* item 1:by Small Icon */
  186.             5000,13,
  187.             5000,14,
  188.             5000,15,
  189.             5000,16
  190.         },
  191.         HMStringResItem {        /* item 2:by Icon */
  192.             5000,17,
  193.             5000,18,
  194.             5000,19,
  195.             5000,20
  196.         }
  197.     }
  198. };
  199.  
  200. resource 'hdlg' (5000,"DITL 129", purgeable) {
  201.     HelpMgrVersion,
  202.     0,
  203.     hmDefaultOptions,
  204.     0,
  205.     0,
  206.  
  207.         HMStringResItem {        /* Send to */
  208.             {0,0},
  209.             {0,0,0,0},
  210.             5000,21,
  211.             0,0,
  212.             0,0,
  213.             0,0
  214.         },
  215.     {
  216.  
  217.         HMSTRResItem { {0,0}, {0,0,0,0}, 0,0,0,0 },            /* item 1:Items to be copied:                 */
  218.         HMSTRResItem { {0,0}, {0,0,0,0}, 0,0,0,0 },            /* item 2:Preparing to send . . . */
  219.         HMStringResItem {        /* item 3:Stop */
  220.             {0,0},
  221.             {0,0,0,0},
  222.             5000,22,
  223.             0,0,
  224.             0,0,
  225.             0,0
  226.         },
  227.         HMSTRResItem { {0,0}, {0,0,0,0}, 0,0,0,0 }            /* item 4:DITL… Item 4 */
  228.     }
  229. };
  230.  
  231. resource 'hdlg' (5001,"DITL 130", purgeable) {
  232.     HelpMgrVersion,
  233.     0,
  234.     hmDefaultOptions,
  235.     0,
  236.     0,
  237.  
  238.         HMSTRResItem { {0,0}, {0,0,0,0}, 0,0,0,0 },            /* item -1:No Sharing Name */
  239.     {
  240.  
  241.         HMStringResItem {        /* item 1:Open Sharing Setup */
  242.             {0,0},
  243.             {0,0,0,0},
  244.             5000,23,
  245.             0,0,
  246.             0,0,
  247.             0,0
  248.         },
  249.         HMStringResItem {        /* item 2:Quit */
  250.             {0,0},
  251.             {0,0,0,0},
  252.             5000,24,
  253.             0,0,
  254.             0,0,
  255.             0,0
  256.         },
  257.         HMSTRResItem { {0,0}, {0,0,0,0}, 0,0,0,0 }            /* item 3:You must enter a Macintosh Name in the Sharing Setup Control Pa */
  258.     }
  259. };
  260.  
  261. resource 'hdlg' (5002,"DITL 131", purgeable) {
  262.     HelpMgrVersion,
  263.     0,
  264.     hmDefaultOptions,
  265.     0,
  266.     0,
  267.  
  268.         HMStringResItem {        /* Preferences */
  269.             {0,0},
  270.             {0,0,0,0},
  271.             5000,25,
  272.             0,0,
  273.             0,0,
  274.             0,0
  275.         },
  276.     {
  277.  
  278.         HMStringResItem {        /* item 1:OK */
  279.             {0,0},
  280.             {0,0,0,0},
  281.             5000,26,
  282.             0,0,
  283.             0,0,
  284.             0,0
  285.         },
  286.         HMStringResItem {        /* item 2:Cancel */
  287.             {0,0},
  288.             {0,0,0,0},
  289.             5000,27,
  290.             0,0,
  291.             0,0,
  292.             0,0
  293.         },
  294.         HMStringResItem {        /* item 3:Flash Icon */
  295.             {0,0},
  296.             {0,0,0,0},
  297.             5000,28,
  298.             0,0,
  299.             5000,29,
  300.             0,0
  301.         },
  302.         HMStringResItem {        /* item 4:Display Alert */
  303.             {0,0},
  304.             {0,0,0,0},
  305.             5000,30,
  306.             0,0,
  307.             5000,31,
  308.             0,0
  309.         },
  310.         HMStringResItem {        /* item 5:Play Sound */
  311.             {0,0},
  312.             {0,0,0,0},
  313.             5000,32,
  314.             0,0,
  315.             5000,33,
  316.             0,0
  317.         },
  318.         HMStringResItem {        /* item 6:Open Incoming Items Folder */
  319.             {0,0},
  320.             {0,0,0,0},
  321.             5000,34,
  322.             0,0,
  323.             5000,35,
  324.             0,0
  325.         },
  326.         HMStringResItem {        /* item 7:Sound Popup */
  327.             {0,0},
  328.             {0,0,0,0},
  329.             5000,36,
  330.             0,0,
  331.             0,0,
  332.             5000,37
  333.         },
  334.         HMSTRResItem { {0,0}, {0,0,0,0}, 0,0,0,0 },            /* item 8:Incoming Items Folder: */
  335.         HMSTRResItem { {0,0}, {0,0,0,0}, 0,0,0,0 },            /* item 9:“^0” */
  336.         HMStringResItem {        /* item 10:Select... */
  337.             {0,0},
  338.             {0,0,0,0},
  339.             5000,38,
  340.             0,0,
  341.             0,0,
  342.             0,0
  343.         },
  344.         HMSTRResItem { {0,0}, {0,0,0,0}, 0,0,0,0 },            /* item 11:File  Conflicts
  345. If an incoming item already exists in the recei */
  346.         HMStringResItem {        /* item 12:Cancel Transfer */
  347.             {0,0},
  348.             {0,0,0,0},
  349.             5000,39,
  350.             0,0,
  351.             5000,40,
  352.             0,0
  353.         },
  354.         HMStringResItem {        /* item 13:Rename Incoming Item */
  355.             {0,0},
  356.             {0,0,0,0},
  357.             5000,41,
  358.             0,0,
  359.             5000,42,
  360.             0,0
  361.         },
  362.         HMStringResItem {        /* item 14:Overwrite Existing Item */
  363.             {0,0},
  364.             {0,0,0,0},
  365.             5000,43,
  366.             0,0,
  367.             5000,44,
  368.             0,0
  369.         },
  370.         HMSTRResItem { {0,0}, {0,0,0,0}, 0,0,0,0 },            /* item 15:Incoming Notification: */
  371.         HMSTRResItem { {0,0}, {0,0,0,0}, 0,0,0,0 }            /* item 16:DITL… Item 16 */
  372.     }
  373. };
  374.  
  375. resource 'hdlg' (5003,"DITL 132", purgeable) {
  376.     HelpMgrVersion,
  377.     0,
  378.     hmDefaultOptions,
  379.     0,
  380.     0,
  381.  
  382.         HMSTRResItem { {0,0}, {0,0,0,0}, 0,0,0,0 },            /* item -1:Default balloon for DITL 132 */
  383.     {
  384.  
  385.         HMSTRResItem { {0,0}, {0,0,0,0}, 0,0,0,0 },            /* item 1:Open */
  386.         HMSTRResItem { {0,0}, {0,0,0,0}, 0,0,0,0 },            /* item 2:Cancel */
  387.         HMSTRResItem { {0,0}, {0,0,0,0}, 0,0,0,0 },            /* item 3:DITL… Item 3 */
  388.         HMSTRResItem { {0,0}, {0,0,0,0}, 0,0,0,0 },            /* item 4:DITL… Item 4 */
  389.         HMSTRResItem { {0,0}, {0,0,0,0}, 0,0,0,0 },            /* item 5:Eject */
  390.         HMSTRResItem { {0,0}, {0,0,0,0}, 0,0,0,0 },            /* item 6:Desktop */
  391.         HMSTRResItem { {0,0}, {0,0,0,0}, 0,0,0,0 },            /* item 7:DITL… Item 7 */
  392.         HMSTRResItem { {0,0}, {0,0,0,0}, 0,0,0,0 },            /* item 8:DITL… Item 8 */
  393.         HMSTRResItem { {0,0}, {0,0,0,0}, 0,0,0,0 },            /* item 9:DITL… Item 9 */
  394.         HMSTRResItem { {0,0}, {0,0,0,0}, 0,0,0,0 },            /* item 10:Select a Receive Folder: */
  395.         HMSTRResItem { {0,0}, {0,0,0,0}, 0,0,0,0 },            /* item 11:DITL… Item 11 */
  396.         HMSTRResItem { {0,0}, {0,0,0,0}, 0,0,0,0 },            /* item 12:DITL… Item 12 */
  397.         HMStringResItem {        /* item 13:Select */
  398.             {0,0},
  399.             {0,0,0,0},
  400.             5000,45,
  401.             0,0,
  402.             0,0,
  403.             0,0
  404.         },
  405.         HMSTRResItem { {0,0}, {0,0,0,0}, 0,0,0,0 }            /* item 14:DITL… Item 14 */
  406.     }
  407. };
  408.  
  409. resource 'hrct' (5000,"FireWire Sender", purgeable) {
  410.     HelpMgrVersion,
  411.     hmDefaultOptions,
  412.     0,
  413.     0,
  414.     {
  415.  
  416.         HMStringResItem {        /* FireWire Sender */
  417.             {80,120},
  418.             {5,5,155,235},
  419.             5000,46
  420.         }
  421.     }
  422. };
  423.  
  424.  
  425.  
  426. resource 'hwin' (5000) {
  427.     HelpMgrVersion,
  428.     0,
  429.     {
  430.         5000,    'hrct',    15,    "FireWire Sender",
  431.         5003,    'hdlg',    8,    "DITL 132",    /* WARNING: this window title must be corrected! */
  432.         5002,    'hdlg',    8,    "DITL 131",    /* WARNING: this window title must be corrected! */
  433.         5001,    'hdlg',    8,    "DITL 130",    /* WARNING: this window title must be corrected! */
  434.         5000,    'hdlg',    8,    "DITL 129"    /* WARNING: this window title must be corrected! */
  435.     }
  436. };
  437.  
  438. resource 'STR#' (5000, "Balloon Help String 1") {
  439.     {
  440.         /* [1] Edit, Normal */
  441.             "Edit Menu\$0D\$0DUse this menu to set user preferences for Fi"
  442.             "reWire File Exchange.\$0D",
  443.         /* [2] Preferences..., Normal */
  444.             "Set user preferences for FireWire File Exchange.",
  445.         /* [3] Preferences..., Grayed */
  446.             "This menu is not available because it cannot be used with t"
  447.             "he dialog box on your screen.\$0D",
  448.         /* [4] Preferences..., Other */
  449.             "This menu is not available because it cannot be used with t"
  450.             "he dialog box on your screen.\$0D",
  451.         /* [5] Sound, Normal */
  452.             "Sound Menu\$0D\$0DSelect a notification sound from the popup "
  453.             "menu.\$0D",
  454.         /* [6] File, Normal */
  455.             "File Menu\$0D\$0DUse this menu to hide/show the sender window"
  456.             ", open the receive folder, and quit FireWire File Exchange.",
  457.         /* [7] Open, Normal */
  458.             "Display the FireWire File Exchange sender window.",
  459.         /* [8] Close, Normal */
  460.             "Hide the FireWire File Exchange sender window.",
  461.         /* [9] Open “FW File Exchange Receive”, Normal */
  462.             "Use this as a shortcut to open the receive folder in the Fi"
  463.             "nder.",
  464.         /* [10] Quit, Normal */
  465.             "Quit the FireWire File Exchange applciation.",
  466.         /* [11] About FireWire Exchange…, Normal */
  467.             "Displays credits for FireWire File Exchange.",
  468.         /* [12] View, Normal */
  469.             "View Menu\$0D\$0DUse this menu to change the way receiver mac"
  470.             "hines are displayed in the sender window.",
  471.         /* [13] by Small Icon, Normal */
  472.             "Displays the available receiver machines in the sender wind"
  473.             "ow using small icons.",
  474.         /* [14] by Small Icon, Grayed */
  475.             "This menu is not available because the sender window is not"
  476.             " visible.\$0D",
  477.         /* [15] by Small Icon, Checked */
  478.             "Displays the available receiver machines in the sender wind"
  479.             "ow using small icons. Checked because this is the current vi"
  480.             "ew for the sender window.",
  481.         /* [16] by Small Icon, Other */
  482.             "This menu is not available because the sender window is not"
  483.             " visible.\$0D",
  484.         /* [17] by Icon, Normal */
  485.             "Displays the available receiver machines in the sender wind"
  486.             "ow using icons.",
  487.         /* [18] by Icon, Grayed */
  488.             "This menu is not available because the sender window is not"
  489.             " visible.\$0D",
  490.         /* [19] by Icon, Checked */
  491.             "Displays the available receiver machines in the sender wind"
  492.             "ow using icons. Checked because this is the current view for"
  493.             " the sender window.",
  494.         /* [20] by Icon, Other */
  495.             "This menu is not available because the sender window is not"
  496.             " visible.\$0D",
  497.         /* [21] Send to, Normal */
  498.             "This window displays transfer status.",
  499.         /* [22] Stop, Normal */
  500.             "Press this button to stop the file transfer.",
  501.         /* [23] Open Sharing Setup, Normal */
  502.             "Press this button to quit FireWire File Exchange and open  "
  503.             "the Sharing Setup control panel to enter a Macintosh Name fo"
  504.             "r this machine.",
  505.         /* [24] Quit, Normal */
  506.             "Press this button to quit FireWire File Exchange.",
  507.         /* [25] Preferences, Normal */
  508.             "This window is used to set the user preferences for FireWir"
  509.             "e File Exchange.",
  510.         /* [26] OK, Normal */
  511.             "Press this button to save the preferences and dismiss the d"
  512.             "ialog.",
  513.         /* [27] Cancel, Normal */
  514.             "Press this button to dismiss the dialog without saving chan"
  515.             "ges.",
  516.         /* [28] Flash Icon, Normal */
  517.             "Click this box to display a flashing icon in the menubar wh"
  518.             "en a file has been received.",
  519.         /* [29] Flash Icon, Checked */
  520.             "When this box is checked a flashing icon will notify you wh"
  521.             "en a file has been received. ",
  522.         /* [30] Display Alert, Normal */
  523.             "Click this box to display an alert message when a file has "
  524.             "been received.",
  525.         /* [31] Display Alert, Checked */
  526.             "When this box is checked an alert message will notify you w"
  527.             "hen a file has been received. ",
  528.         /* [32] Play Sound, Normal */
  529.             "Click this box to play a sound when a file has been receive"
  530.             "d. Select the sound to be played from the popup list.",
  531.         /* [33] Play Sound, Checked */
  532.             "When this box is checked a sound will be played to notify y"
  533.             "ou when a file has been received. ",
  534.         /* [34] Open Incoming Items Folder, Normal */
  535.             "Click this box to open the receive folder in the Finder whe"
  536.             "n a file has been received.",
  537.         /* [35] Open Incoming Items Folder, Checked */
  538.             "When this box is checked the receive folder in the Finder w"
  539.             "ill be opened to notify you when a file has been received. ",
  540.         /* [36] Sound Popup, Normal */
  541.             "Click on this list to select a notification sound to be pla"
  542.             "yed when a file has been received.",
  543.         /* [37] Sound Popup, Other */
  544.             "Click on this list to select a notification sound to be pla"
  545.             "yed when a file has been received.",
  546.         /* [38] Select..., Normal */
  547.             "Click this button to set a new receive folder for incoming "
  548.             "items.",
  549.         /* [39] Cancel Transfer, Normal */
  550.             "Click this button to cancel the file transfer at the sender"
  551.             " if the item already exists in your receive folder.",
  552.         /* [40] Cancel Transfer, Checked */
  553.             "When this button is selected, the file transfer will be can"
  554.             "celed at the sender if the item already exists in your recei"
  555.             "ve folder.",
  556.         /* [41] Rename Incoming Item, Normal */
  557.             "Click this button to rename a received item with a unique n"
  558.             "umeric suffix if the item already exists in your receive fol"
  559.             "der.",
  560.         /* [42] Rename Incoming Item, Checked */
  561.             "When this button is selected a received item will be rename"
  562.             "d with a unique numeric suffix if the item already exists in"
  563.             " your receive folder.",
  564.         /* [43] Overwrite Existing Item, Normal */
  565.             "Click this button to have a received item replace an item w"
  566.             "ith the same name that already exists in your receive folder"
  567.             ".",
  568.         /* [44] Overwrite Existing Item, Checked */
  569.             "When this button is selected a received item will replace a"
  570.             "n item with the same name that exists in your receive folder"
  571.             ".",
  572.         /* [45] Select, Normal */
  573.             "To set the receive folder to the selected folder or volume,"
  574.             " click this button.",
  575.         /* [46] FireWire Sender, Normal */
  576.             "The sender window displays an icon for each machine on the "
  577.             "bus running FireWire File Exchange. Drag items from the Find"
  578.             "er onto an icon to send the items to that machine."
  579.     }
  580. };
  581.  
  582. data 'TEXT' (5000, purgeable) {
  583.             "FireWire File Exchange\$0D\$0DA fast file transfer utility us"
  584.             "ing FireWire. To use this application you must have FW File "
  585.             "Exchange Driver, FW File Exchange Family, FireWire Support, "
  586.             "and the appropriate driver for your FireWire card in the Ext"
  587.             "ensions folder."
  588. };
  589.  
  590. resource 'hfdr' (-5696, purgeable) {    /* Help balloon for application icon */
  591.     HelpMgrVersion, hmDefaultOptions, 0, 0, /* header information */
  592.     {
  593.     HMTEResItem { 5000 }
  594.     }
  595. };
  596.